import request from '@/utils/request'
/*
 * 获取最火企业信息
 * */
export function getHotEnt(data) {
  return request({
    url: '/index/getHot',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 首页轮播图和新闻
 * */
export function getAds(data) {
  return request({
    url: '/index/getAds',
    method: 'post',
    data:data,
    power: false
  })
}

/*
 * 新闻
 * */
export function getNew(data) {
  return request({
    url: '/api/index/getNew',
    method: 'post',
    data:data,
    power: false
  })
}